package demo1225.lianxi;
/*
复习:

 */
public class Demo_01 {
    public static void main(String[] args) {
        System.out.println(get());//"helloworld"  "hello"
    }
//String 是不可变对象
    public  static StringBuilder get(){
        StringBuilder s = new StringBuilder("hello");
        try{
            return s;//
        }finally {
            System.out.println("执行finally语句...");
            s.append("world");
        }

    }
}
